XSM-Policy: allow source domain access to setpodtarget and getpodtarget for ballooning.
authorAnshul Makkar <anshul.makkar@citrix.com>
Thu, 14 Jul 2016 14:46:12 +0000 (15:46 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Jul 2016 14:50:04 +0000 (15:50 +0100)
commit2ad72c0b4676d62cc72447882306c3df51a6a0f1
treeb28884b2cac16d2d7427212c7938c0ec5caa06ea
parent41b61be1c244b27985f92061aa9670088340a37f
XSM-Policy: allow source domain access to setpodtarget and getpodtarget for ballooning.

Access to setpodtarget and getpodtarget is required by dom0 to set the balloon
targets for domU. The patch gives source domain (dom0) access to set
this target for domU and resolve the following permission denied erro
message during ballooning :
avc:  denied  { setpodtarget } for domid=0 target=9
scontext=system_u:system_r:dom0_t
tcontext=system_u:system_r:domU_t tclass=domain

Signed-off-by: Anshul Makkar <anshul.makkar@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
tools/flask/policy/modules/xen.if